package com.ls.thread.account;

public class AccountTest {
	
public static void main(String[] args) {
		
		Account account = new Account(200);
		
		Customer customer  = new Customer(account);
		
		Thread thread01 =new Thread(customer);
		Thread thread02 =new Thread(customer);
		
		thread01.setName("王超");
		thread02.setName("陈叶");
		
		thread01.start();
		thread02.start();
	}


}
